package com.haoran.dwz.service;

import java.util.Collection;
import java.util.List;

import com.haoran.dwz.domain.entities.Menu;
import com.haoran.dwz.domain.entities.Role;

public interface MenuService {
	
	List<Menu> findAll();
	
	void newAdd(Menu menu);
	
	Menu findById(String id);
	
	void update(Menu menu);

	Collection<Menu> findAllByRole(Role defaultRole);
}
